﻿using MgSoft.K3Cloud.WebApi.Common.Dto.Property;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Text;

namespace MgSoft.K3Cloud.WebApi.Common.Dto.Gl
{
    /// <summary>
    /// 凭证现金流量分录
    /// </summary>
    public class Gl_VoucherSaveInputDto_CashflowEntry
    {
        /// <summary>
        /// 本方分录序号（凭证分录序号 FSeq)
        /// </summary>
        [JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
        public virtual int? FVchentryId { get; set; }
        /// <summary>
        /// 对方分录序号（凭证分录序号 FSeq，跟 FVCHENTRYID 的序号不一样）
        /// </summary>
        [JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
        public virtual int? FOppvchentryId { get; set; }
        /// <summary>
        /// 主表项目
        /// </summary>
        [JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
        public virtual FNumberProperty FItemId { get; set; }
        /// <summary>
        /// 附表项目
        /// </summary>
        [JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
        public virtual FNumberProperty FSubItemId { get; set; }
        /// <summary>
        /// 本位币金额（原币金额自动计算）
        /// </summary>
        [JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
        public virtual decimal? FCFAmount { get; set; }
    }
}
